import types from './mutation-types';

const mutations = {
  [types.INCREMENT]: (state,paylod) => {
    console.log(state, paylod)


    const obj = state
    obj.count += 1
  },
  [types.DECREMENT]: (state,paylod) => {
    const obj = state
    obj.count -= 1
  }
};

export default mutations;
